/*
 * redmicro all Copyright (c)
 */

/**
 * Created by seeker910 on 2015/5/29.
 */
Rsd.define('Rsd.Faith.pages.InfoKaiFaShangXinXiListPage', {
    extend: 'Rsd.Faith.pages.ListPage',
    requires: [],
    xtype: 'list-kaiFaShang',
    border: false,
    tabTitle: '开发商信息',
    modelType: 'InfoKaiFaShangXinXiBiaoModel',//  keyMember: 'id', titleMember: 'KaiFaShangMingCheng'
    formFields: [
        {
            "name": "MingCheng",
            "label": {
                "content": "名称",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "ZhuZhiJiGouDaiMa",
            "label": {
                "content": "住址机构代码",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "FaRenDaiBiao",
            "label": {
                "content": "法人代表",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "LianXiRen",
            "label": {
                "content": "联系人",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "LianXiDianHua",
            "label": {
                "content": "联系电话",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "LianXiDiZhi",
            "label": {
                "content": "联系地址",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "KaiFaShangJianCheng",
            "label": {
                "content": "开发商简称",
                "width": 80
            },
            "xtype": "text"
        },
//        {
//            "name": "BianMa",
//            "label": {
//                "text": "编码",
//                "width": 80
//            },
//            "dataindex": "bianma",
//            "xtype": "text"
//        },
        {
            "name": "Remark",
            "label": {
                "content": "备注",
                "width": 80
            },
            "dataindex": "remark",
            "xtype": "text"
        }
    ],
    gridColumns: [
        {
            "text": "序号",
            "xtype": "index",
            "width": 40
        },
        {
            "name": "MingCheng",
            "text": "名称",
            "width": 150,
            "nobr": true
        },
        {
            "name": "ZhuZhiJiGouDaiMa",
            "text": "组织机构代码",
            "width": 150,
            "nobr": true
        },

        {
            "name": "FaRenDaiBiao",
            "text": "法人代表",
            "width": 150,
            "nobr": true
        },
        {
            "name": "LianXiRen",
            "text": "联系人",
            "width": 150,
            "nobr": true
        },
        {
            "name": "LianXiDianHua",
            "text": "联系电话",
            "width": 150,
            "nobr": true
        },

        {
            "name": "LianXiDiZhi",
            "text": "联系地址",
            "width": 150,
            "nobr": true
        },
        {
            "name": "KaiFaShangJianCheng",
            "text": "开发商简称",
            "width": 150,
            "nobr": true
        },
//        {
//            "name": "BianMa",
//            "text": "编码",
//            "sortable": true,
//            "width": 50,
//            "nobr": true
//        },
        {
            "name": "Remark",
            "text": "备注",
            "dataindex": "remark",
            "width": 150,
            "nobr": true
        }
    ],
    titleField:'MingCheng',
    newButton:{visible:true,text:'添加开发商'},
    /*
    * */
    constructor: function (config) {
        config = config || {};
        Rsd.apply(this, config);
    }
});